package com.example.bus.google.event;

import com.google.common.eventbus.Subscribe;
import lombok.Getter;
import lombok.Setter;
import org.springframework.stereotype.Component;

/**
 * @author guoQ.z
 * @date 2021/3/3
 */
@Component
public class EventBusListener2 {
    @Setter
    @Getter
    private String info;

    @Subscribe
    public void execute1(EventBusListener2 listener2) {
        System.out.println("EventBusListener2 get message:" + listener2.getInfo());
    }
}
